<?php

// require_once "rounds.php";
    
$RoundsInfo = array(
    "P1" => array(
        "name" => _('Proofreading Round 1'),
        "description" => _("The page-texts are the output from OCR software.and need to have the text carefully compared to the image."),
    ),

    "P2a" => array(
        "name" => _('Proofreading Round 2a'),
        "description" => _("The page-texts have already been proofread, and now need to have the text spellchecked and carefully compared to the image."),
    ),

    "P2b" => array(
        "name" => _('Proofreading Round 2b'),
        "description" => _("The page-texts have already been proofread, and now need to have the text spellchecked and carefully compared to the image."),
    ),

    "P2c" => array(
        "name" => _('Proofreading Round 2c'),
        "description" => _("The page-texts have already been proofread, and now need to have the text spellchecked and carefully compared to the image."),
    ),


    "P3" => array(
        "name" => _('Proofreading Round 3'),
        "description" => _("The page-texts have already been proofread, but now need to be examined <b>closely</b> for small errors that may have been missed."),
    ),

    "F1a" => array(
        "name" => _('Formatting Round 1a'),
        "description" => _("The page-texts have already been proofread, but now need to be formatted with markup which may be specific to the project."),
    ),

    "F1b" => array(
        "name" => _('Formatting Round 1b'),
        "description" => _("The page-texts have already been proofread, but now need to be formatted with markup which may be specific to the project."),
    ),

    "F1c" => array(
        "name" => _('Formatting Round 1c'),
        "description" => _("The page-texts have already been proofread, but now need to be formatted with markup which may be specific to the project."),
    ),

    "F2a" => array(
        "name" => _('Formatting Round 2a'),
        "description" => _("The page-texts in this round need to be carefully checked to remove any remaining formatting errors."),
    ),

    "F2b" => array(
        "name" => _('Formatting Round 2b'),
        "description" => _("The page-texts in this round need to be carefully checked to remove any remaining formatting errors."),
    ),
);

function RoundIdName($roundid) {
    global $RoundsInfo;
    return $roundid != "" && isset($RoundsInfo[$roundid])
            ? $RoundsInfo[$roundid]['name']
            : "";
}

function RoundIdDescription($roundid) {
    global $RoundsInfo;
    return $roundid != "" && isset($RoundsInfo[$roundid])
        ? $RoundsInfo[$roundid]['description']
        : "";
}

?>
